﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;

namespace ReporterControlLibrary
{
    public class InstanceTreeView : TreeView
    {
        protected override DependencyObject GetContainerForItemOverride()
        {
            return new InstanceTreeViewItem();
        }

        protected override bool IsItemItsOwnContainerOverride(object item)
        {
            return item is InstanceTreeViewItem;
        }
    }
}
